package com.gmail.dmitryustimov.ms.java7.visitor.mod_actionmap.example.example2;


public class Car extends CarElement {
    public Car() {
        this.elements.add(new Wheel("front left"));
        this.elements.add(new Wheel("front right"));
        this.elements.add(new Wheel("back left"));
        this.elements.add(new Wheel("back right"));
        this.elements.add(new Body());
        this.elements.add(new Engine());
    }
}
